home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
varia
/
egebook.lha
/
ege.book
/
5
/
Student.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-05
|
401b
|
25 lines
#ifndef Student_h
#define Student_h
#include "Person.h"
#include "Collection.h"
class Collection;
class Student: public virtual Person {
Collection *taking;
void signup();
public:
static Collection *Body;
Student(String n):Person(n) {;
taking = new Collection;
Body->add(this);
};
Example *alike(String &name){
return(new Student(name));
};
void maintain();
};
#endif